package com.sky.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Author 褚金龙
 * @Date 2024/8/31 18:30
 */
@Data
@ApiModel(description = "分类表")
public class Category implements Serializable {
    @ApiModelProperty("id")
    private long id;
    @ApiModelProperty("分类名称")
    private String name;
    @ApiModelProperty("分类属性")
    private Integer type;
    @ApiModelProperty("分类排序")
    private Integer sort;
    @ApiModelProperty("分类状态")
    private Integer status;
    @ApiModelProperty("创建时间")
    //@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    @ApiModelProperty("修改时间")
    //@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
    private Long createUser;
    @ApiModelProperty("修改人")
    private Long updateUser;



}
